package com.mtung.provider.impl;

import com.mtung.dubbo.RpcAnnotation;
import com.mtung.provider.api.UserService;

/**
 * @author : zhenguo.yao
 * @date : 2020/3/23 0023 16:33
 */
@RpcAnnotation(UserService.class)
public class UserServiceImpl implements UserService {
    public String getUser(long id) {
        return "测试用户: "+id;
    }

    public int delUser(Long userId) {
        System.out.println("删除用户: "+userId);
        return 0;
    }
}
